<?php
$this->breadcrumbs = array(
	UserModule::t('Мои фирмы') => array('/user/myfirms'),
	UserModule::t('Новая фирма'),
);

$this->menu = array(
	array('label'=>UserModule::t('Управление') . ' ' . $model->label(2), 'url' => array('admin')),
);
?>

<h1><?php echo UserModule::t('Создание') . ' ' . GxHtml::encode($model->label()); ?></h1>


<?php
if(1 != Yii::app()->user->approved) {
	$this->renderPartial('/default/notapproved', array());
} else {
	$this->renderPartial('_form', array(
			'model' => $model,
			'buttons' => 'create'));	
}
?>
